/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.siagefi.model;

import br.siagefi.interfaces.BaseEntity;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;

/**
 *
 * @author NOTE
 */

@Entity
@Table(name = "funcionario")
public class Funcionario extends PessoaFisica implements Serializable, BaseEntity{
    
    @Column(name = "matricula", length = 15)
    private String matricula;
    
    
    @Temporal(javax.persistence.TemporalType.DATE)
    @Column(name = "data_desligamento")
    private Date dataDesligamento;
    
    @Column(name = "tipo_contrato", length = 30)
    private String tipoContrato;

    public Funcionario() {
    }

    public String getMatricula() {
        return matricula;
    }

    public void setMatricula(String matricula) {
        this.matricula = matricula;
    }

    public Date getDataDesligamento() {
        return dataDesligamento;
    }

    public void setDataDesligamento(Date dataDesligamento) {
        this.dataDesligamento = dataDesligamento;
    }

    public String getTipoContrato() {
        return tipoContrato;
    }

    public void setTipoContrato(String tipoContrato) {
        this.tipoContrato = tipoContrato;
    }    
}
